//基本配置
export const config = {
  width: 1920,
  height: 1080,
  left:0,
  top: 0,
  scale: 1,
  mark: {
    show: false,
    text: 'learun数据大屏水印',
    fontSize: 20,
    textStyle: 'rgba(100,100,100,0.2)',
    degree: -20
  },
  backgroundImage: '',
  backgroundColor: '#000',
  query: {}
};
// 表格的列配置
export const tableOption = {
  menuWidth: 150,
  refreshBtn: false,
  columnBtn: false,
  labelWidth: 100,
  column: [{
    label: '名称',
    prop: 'label',
  }, {
    label: 'key值',
    prop: 'prop',
  }, {
    label: '宽度',
    prop: 'width',
  }]
}

//一些字典的配置
export const dicOption = {
  line: [{ label: '线条', value: 'line' }, { label: '圆环', value: 'circle' }],
  fontWeightOptions: [{ label: '正常', value: 'normal' }, { label: '加粗', value: 'bold' },{ label: '细', value: 'lighter' }],
  nameLocationOptions: [
    { label: '开头', value: 'start' },
    { label: '中间', value: 'middle' },
    { label: '末尾', value: 'end' },
  ],
  axisTypeOptions: [
    { label: '数值', value: 'value' },
    { label: '类目', value: 'category' },
    { label: '时间', value: 'time' },
    //{ label: '对数', value: 'log' },
  ],
  labelPositionOptions: [
    { label: '外侧', value: 'outside' },
    { label: '内部', value: 'inside' },
    { label: '中心', value: 'center' }
  ],
  labelPositionOptions2: [
    { label: '上边', value: 'top' },
    { label: '左边', value: 'left' },
    { label: '右边', value: 'right' },
    { label: '下边', value: 'bottom' },
    { label: '内部', value: 'inside' },
    { label: '内部左边', value: 'insideLeft' },
    { label: '内部右边', value: 'insideRight' },
    { label: '内部上边', value: 'insideTop' },
    { label: '内部下边', value: 'insideBottom' },
    { label: '内部左上', value: 'insideTopLeft' },
    { label: '内部左下', value: 'insideBottomLeft' },
    { label: '内部右上', value: 'insideTopRight' },
    { label: '内部右下', value: 'insideBottomRight' }
  ],
  labelFormatterTypeOptions: [
    { label: '文本', value: 'label' },
    { label: '脚本', value: 'fn' },
  ],
  legendPositionOptions: [
    { label: '左上角', value: 'topLeft' },
    { label: '右上角', value: 'topRight' },
    { label: '左下角', value: 'bottomLeft' },
    { label: '右下角', value: 'bottomRight' },
    { label: '顶部居中', value: 'topCenter' },
    { label: '底部居中', value: 'bottomCenter' },
  ],
  iconOptions: [
    { label: '圆形', value: 'circle' },
    { label: '矩形', value: 'rect' },
    { label: '圆角矩形', value: 'roundRect' },
    { label: '三角形', value: 'triangle' },
    { label: '菱形', value: 'diamond' },
    { label: '水滴', value: 'pin' },
    { label: '箭头', value: 'arrow' },
    { label: '无', value: 'none' },
  ],
  border: [{ label: '无边框', value: '' }, { label: '内置图片', value: 'img' }, { label: '内置边框', value: 'border' }],
  textAlign: [{ label: '居中', value: 'center' }, { label: '左对齐', value: 'left' }, { label: '右对齐', value: 'right' }],
  dataType: [{ label: '静态', value: 0 }, { label: '接口', value: 1 }, { label: '数据源', value: 2 }],
  orientListOptions: [{ label: '竖向', value: 'vertical' }, { label: '横向', value: 'horizontal' }],
  dataMethod: [{ label: 'POST', value: 'post' }, { label: 'GET', value: 'get' }],
  eventList: ['tabs'],
  dataList: ['text', 'wordcloud', 'tabs', 'pie', 'pictorialbar', 'swiper', 'flop', 'bar', 'line', 'progress', 'table', 'gauge', 'funnel', 'scatter', 'radar', 'colorblock', 'scrollrank', 'pond', 'flyline', 'common'], // 'img', 'video', 'iframe', 'map'
  themeList: [{
    label: '默认配色',
    value: 'avue'
  }, {
    label: '紫色主题',
    value: 'macarons'
  }, {
    label: '绿色主题',
    value: 'wonderland'
  }],
  animationList: ['time', 'border', 'scrollrank', 'pond', 'flyline', 'decoration'],
  barList: ['bar', 'line'],
  titleList: ['bar', 'pie', 'line', 'radar', 'funnel'],
  labelList: ['bar', 'line', 'pie', 'radar', 'scatter', 'funnel'],
  legendList: ['bar', 'pie', 'line', 'radar', 'funnel'],
  colorList: ['bar', 'pie', 'line', 'gauge', 'funnel', 'scatter', 'radar'],
  tipList: ['bar', 'pie', 'line', 'gauge', 'funnel', 'scatter', 'radar'],
  postionList: ['bar', 'line', 'pictorialbar'],
  formatterList: ['bar', 'map', 'line', 'pie', 'gauge', 'funnel', 'scatter', 'radar','border', 'decoration', 'scrollrank', 'pond', 'flyline', 'time','common', 'test', 'pictorialbar', 'text', 'datetime', 'img', 'imgborder', 'swiper', 'iframe', 'video', 'flop', 'colorblock', 'progress', 'wordcloud', 'table', 'tabs', 'vue'],
  tipFormatterList: ['bar', 'map', 'line', 'pie', 'gauge', 'funnel', 'scatter', 'radar'],
  clickFormatterList: ['map', 'border', 'decoration', 'scrollrank', 'pond', 'flyline', 'time', 'bar', 'common', 'test', 'line', 'pie', 'pictorialbar', 'radar','scatter', 'funnel', 'text', 'datetime', 'img', 'imgborder', 'swiper', 'iframe', 'video', 'flop', 'colorblock', 'progress', 'wordcloud', 'table', 'tabs', 'gauge', 'vue'],
  labelFormatterList: ['bar', 'line', 'pie', 'radar', 'scatter', 'funnel', 'map'],
  tabsTypeList: [{
    label: '选项卡',
    value: 'tabs',
  }, {
    label: '选择框',
    value: 'select',
  }],
  mapType: [{
    label: '原生',
    value: 0
  }],
  target: [{ label: '本窗口', value: '_self' }, { label: '新窗口', value: '_blank', }],
  swiperType: [{ label: '普通', value: '' }, { label: '立体', value: 'card' }],
  swiperIndicator: [{ label: '外部', value: 'indicator' }, { label: '不显示', value: 'none' }],
  format: [{ label: '日期', value: 'yyyy-MM-dd' }, { label: '日期+时分', value: 'yyyy-MM-dd hh:mm' }, { label: '日期+时分秒', value: 'yyyy-MM-dd hh:mm:ss' }, { label: '日期(无年)', value: 'MM-dd' }, { label: '时分', value: 'hh:mm' }, { label: '时分秒', value: 'hh:mm:ss' }, { label: '星期', value: 'day' }]
}